import { CardEditableParamsDefault, CardDataEditableParamsCommonDefault } from "@/views/card/js/data/cardDatas/card-datas-default.js";
import TooltipsData from "@/views/card/js/data/tooltipsData/tooltips-data.js";
const CARD_4 =  {
    desc: {
      ...CardEditableParamsDefault.InputNormal,
      label: '标题',
      placeholder: '请填入标题',
    },
    content_style: {
      ...CardEditableParamsDefault.DropdownNormal,
      label: '显示样式',
      placeholder: '请选择',
      valLists: [
        {
          name: '默认样式',  // default
          value: '1',
        },
        {
          name: '复杂样式',
          value: '0',
        },
      ],
    },
    right_desc: {
      ...CardEditableParamsDefault.InputNormal,
      label: '右侧描述',
      placeholder: '请填入右侧描述',

      param_effect_parent: {
        effect_parent_keys: ['content_style'],
        effect_type: ['SHOW_HIDE'],
        effect_parent_val: '1',
        effect_clear: {
          effect_clear_default_val: '',
        },
      },
    },
    desc_extr: {
      ...CardEditableParamsDefault.InputNormal,
      label: '右侧描述',
      placeholder: '请填入右侧描述',

      param_effect_parent: {
        effect_parent_keys: ['content_style'],
        effect_type: ['SHOW_HIDE'],
        effect_parent_val: '0',
        effect_clear: {
          effect_clear_default_val: '',
        },
      },
    },
    pic: {
      ...CardEditableParamsDefault.ImageNormal,
      label: '左图',
      res_type: 'String',  // Array : fileList, String : value
      placeholder: '尺寸严格按照设置的宽高，小于100kb，jpg,jpeg,png,gif格式',
      limit: 1,
      size: 100,
      accept: '.jpg, .jpeg, .png, .gif',
      tooltips: TooltipsData.image[1],

      param_effect_parent: {
        effect_parent_keys: ['content_style'],
        effect_type: ['SHOW_HIDE'],
        effect_parent_val: '0',
        effect_clear: {
          effect_clear_default_val: '',
        },
      },
    },
    avatar_url: {
      ...CardEditableParamsDefault.ImageNormal,
      label: '圆头像',
      res_type: 'String',  // Array : fileList, String : value
      placeholder: '尺寸严格按照设置的宽高，小于100kb，jpg,jpeg,png,gif格式',
      limit: 1,
      size: 100,
      accept: '.jpg, .jpeg, .png, .gif',
      tooltips: TooltipsData.image[1],

      param_effect_parent: {
        effect_parent_keys: ['content_style'],
        effect_type: ['SHOW_HIDE'],
        effect_parent_val: '0',
        effect_clear: {
          effect_clear_default_val: '',
        },
      },
    },
    icon: {
      ...CardEditableParamsDefault.ImageNormal,
      label: '右侧图标',
      res_type: 'String',  // Array : fileList, String : value
      placeholder: '尺寸严格按照设置的宽高，小于100kb，jpg,jpeg,png,gif格式',
      limit: 1,
      size: 100,
      accept: '.jpg, .jpeg, .png, .gif',
      tooltips: TooltipsData.image[1],

      param_effect_parent: {
        effect_parent_keys: ['content_style'],
        effect_type: ['SHOW_HIDE'],
        effect_parent_val: '0',
        effect_clear: {
          effect_clear_default_val: '',
        },
      },
    },
    scheme: {
      ...CardEditableParamsDefault.InputNormal,
      label: '跳转链接',
      placeholder: '请填入跳转链接',
    },
    display_arrow: {
      ...CardEditableParamsDefault.SwitchNormal,
      label: '右侧箭头',
      bIsUpdateManual: true,
      boolReplace: {
        boolTrue: '1',
        boolFalse: '0',
      },
    },
    ...CardDataEditableParamsCommonDefault,
  };
export default CARD_4;